text view: Don't leak cairo transforms
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 Jan 2016 04:39:16 +0000 (23:39 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 22 Jan 2016 04:39:16 +0000 (23:39 -0500)
commit6a1722f689eaec8d52e21a1252c9d70f8f5be4fa
tree0c25fb9e6441a2d363d160a283e8a74b44a8e761
parenteb2ef63211dc9cdb21da1e93045017003a0ed642
text view: Don't leak cairo transforms

The text view draw function was leaving its cairo context
with a transformation after drawing to all the border windows,
which lead mis-drawing in gitg. Avoid this by moving the
gtk_cairo_transform_to_window call inside the existing
cairo_save/restore calls.

https://bugzilla.gnome.org/show_bug.cgi?id=760942
gtk/gtktextview.c